package com.pureut.quality.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.quality.domain.AuditNonconformity;
import com.pureut.quality.domain.ExternalAuditPlan;
import com.pureut.quality.domain.dto.AuditNonconformityDto;
import com.pureut.quality.domain.dto.ExternalAuditPlanDto;
import com.pureut.quality.domain.vo.AuditNonconformityVo;
import com.pureut.quality.domain.vo.ExternalAuditPlanVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/***
 * 外审不符合项报告
 * Author:C
 * Date:2023/01/19 17:16
 * @DESC
 */
@Mapper
public interface AuditNonconformityMapper extends BaseMapper<AuditNonconformity> {

    /**
     * 查询外审不符合项报告列表
     * @param auditNonconformityVo
     * @return
     */
    List<AuditNonconformityDto> listAuditNonconformity(AuditNonconformityVo auditNonconformityVo);

    /**
     * 查看外审不符合项报告
     * @param id
     * @return
     */
    AuditNonconformityDto getInfo(Long id);

}
